<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="../title.jsp"%>

<script type="text/javascript" src="<%=request.getContextPath()%>/common/js/util/jquery.validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/sysmanager/common/js/role-validate.js"></script>
<table class="Title">
  <tr>
    <td>角色信息</td>
  </tr>
</table>
<table class="inputTable">
  <tr>
	<td width="12%"><font color="#FF0000">*</font>角色描述：</td>
	<td><d:input name="role.roledesc" />
	
	</td>
  </tr>
  <tr>
    <td>用户成员</td>
    <td>
    <table cellspacing="0" cellpadding="0" width="100%" align="left">
      <tr>
        <td style="text-align: left">可选用户</td>
        <td></td>
        <td style="text-align: left">已选用户</td>
  	  </tr>
	    <tr>
		    <td>
		      <select height="100%" id="userListLeft" name="userListLeft" multiple size="18" ondblclick="javascript:moveRight('userListLeft','userListRight',false)">
		      		<s:iterator value="nocheckUserList">
                  		<option value="<s:property value='userid'/>"><s:property value='operatorname'/></option>
		      		</s:iterator>
          	    </select>
		    </td>
		    <td  style="width:10px">
	          <table>
	          <tr><td><a  href="javascript:moveRight('userListLeft','userListRight',false)">&#62;</a></td></tr>
	          <tr><td><a  href="javascript:moveRight('userListLeft','userListRight',true)">&#62;&#62;</a></td></tr>
	          <tr><td><a  href="javascript:moveLeft('userListLeft','userListRight',false)">&#60;</a></td></tr>
	          <tr><td><a  href="javascript:moveLeft('userListLeft','userListRight',true)">&#60;&#60;</a></td></tr>
	          </table>
		    </td>
		    <td align="left">
		      <select height="100%" id="userListRight" name="userListRight" multiple size="18" ondblclick="javascript:moveLeft('userListLeft','userListRight',false)">
		      		<s:iterator value="checkUserList">
                  		<option value="<s:property value='userid'/>"><s:property value='operatorname'/></option>
		      		</s:iterator>
          	  </select>
        	</td>
	    </tr>
	  </table>
    </td>
  </tr>
</table>
<input type="hidden" id="userList" name="userList">
<d:input type="hidden" name="role.creator"/>
<d:input type="hidden" name="radio_id"/>
<d:input type="hidden" name="role.roleid"/>
<d:input type="hidden" name="role.p_roleid"/>
<d:input type="hidden" name="role.p_roledesc"/>
<d:input type="hidden" name="page.sort.property"/>
<d:input type="hidden" name="page.sort.sortOrder"/>
<d:input type="hidden" name="page.currentPageNo"/>
<d:button/>
<%@include file="../foot.jsp"%>
